﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Transactions {
    import Classes.*;

    public class THarvestBusiness extends TWorldState {

        protected var m_business:Business;
        protected var m_npcCount:int;
        protected var m_commodityLeft:int;

        public function THarvestBusiness(_arg1:Business, _arg2:int, _arg3:int){
            this.m_business = _arg1;
            this.m_npcCount = _arg2;
            this.m_commodityLeft = _arg3;
            super(_arg1);
        }
        override public function perform():void{
            signedWorldAction("harvest", this.m_npcCount, this.m_commodityLeft);
        }
        override protected function onWorldActionComplete(_arg1:Object):void{
            this.m_business.onHarvestComplete(_arg1);
        }

    }
}//package Transactions 
